package cn.com.nes.mybatis.callcenter.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 房屋信息表
 */
@TableName(value = "house_info")
@Data
public class HouseInfo implements Serializable {

    /**
     * 房屋id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 安装地点id
     */
    @TableField(value = "dd_id")
    private String ddId;

    /**
     * 企业id
     */
    @TableField(value = "company_id")
    private Long companyId;

    /**
     * 行政区划代码
     */
    @TableField(value = "xzqhdm")
    private String xzqhdm;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 门牌号
     */
    @TableField(value = "mph")
    private String mph;

    /**
     * 建筑面积
     */
    @TableField(value = "structure_area")
    private BigDecimal structureArea;

    /**
     * 采暖面积
     */
    @TableField(value = "heating_area")
    private BigDecimal heatingArea;

    /**
     * 建筑结构
     */
    @TableField(value = "building_structure")
    private Integer buildingStructure;

    /**
     * 建筑层高
     */
    @TableField(value = "build")
    private BigDecimal build;

    /**
     * 外墙厚度
     */
    @TableField(value = "wall_thickness")
    private BigDecimal wallThickness;

    /**
     * 外墙保温
     */
    @TableField(value = "wall_keep_warm")
    private Integer wallKeepWarm;

    /**
     * 采暖末端
     */
    @TableField(value = "heating_terminal")
    private Integer heatingTerminal;

    /**
     * 供暖方式
     */
    @TableField(value = "heating_mode")
    private Integer heatingMode;

    /**
     * 逻辑删除:   1 表示删除，0 表示未删除。
     */
    @TableField(value = "is_delete")
    private Integer deleted;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Long gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Long gmtModified;

    /**
     * 来源
     */
    @TableField(value = "source")
    private String source;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}